package simple03.factory;


import simple03.bag.AppleBag;
import simple03.bag.Bag;
import simple03.fruit.Apple;
import simple03.fruit.Fruit;

public class AppleFactory extends FruitFactory {
    @Override
    public Fruit getFruit() {
        return new Apple();
    }

    @Override
    public Bag getBag() {
        return new AppleBag();
    }
}
